package com.zrar.ak.gkpt.dao;

import com.zrar.ak.gkpt.model.bo.FormRecordContractTerminalTiBO;
import org.apache.ibatis.annotations.Delete;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

/**
 * @InterfaceName: IFormRecordContractTerminalTiDao
 * @Description 备案信息表_合同备案_终端_子表Dao层
 * @Author liyang
 * @Time 2020/03/24
 */
@Repository("formRecordContractTerminalTiDao")
public interface IFormRecordContractTerminalTiDao extends Mapper<FormRecordContractTerminalTiBO> {

    @Delete("delete from FORM_RECORD_CONTRACT_TERMINAL_TI where contract_id = #{id}")
    void deleteByContractId(String id);
}
